package com.gdc.microservicecloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Description: 部门 Feign 模块启动类
 *
 * | @EnableFeignClients                开启Feign功能注解，如果需要扫描的接口与当前的地址不一致，需要添加，
 *                                         如：| @EnableFeignClients(basePackages = {"com.gdc.microservicecloud"})
 *                                            | @SpringBootApplication(scanBasePackages = {"com.gdc.microservicecloud"})
 *
 * @author: gdc
 * @date: 2021/1/24
 * @version 1.0
 */
@EnableFeignClients(basePackages = {"com.gdc.microservicecloud"})
@EnableEurekaClient
@SpringBootApplication(scanBasePackages = {"com.gdc.microservicecloud"})
public class MicroservicecloudConsumerDeptFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroservicecloudConsumerDeptFeignApplication.class, args);
    }

}
